using System;
using System.Collections.Generic;
using System.Text;

namespace XPStudio.HR.Model
{
    public class EmployeeProperty
    {
        public EmployeeProperty()
        { }

        #region Model
        private int _propertyid;
        private string _propertyname;
        private string _propertytype;
        private int _propertylength;
        private string _propertydesc;
        private int _sortid;
        //private string _propertyValue;
        /// <summary>
        /// 
        /// </summary>
        public int PropertyID
        {
            set { _propertyid = value; }
            get { return _propertyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PropertyName
        {
            set { _propertyname = value; }
            get { return _propertyname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PropertyType
        {
            set { _propertytype = value; }
            get { return _propertytype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PropertyLength
        {
            set { _propertylength = value; }
            get { return _propertylength; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PropertyDesc
        {
            set { _propertydesc = value; }
            get { return _propertydesc; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int SortID
        {
            set { _sortid = value; }
            get { return _sortid; }
        }
        #endregion Model

        public EmployeeProperty(string propertyName, string propertyType, int propertyLength, string propertyDesc, int sortID)
        {
            this.PropertyName = propertyName;
            this.PropertyType = propertyType;
            this.PropertyLength = propertyLength;
            this.PropertyDesc = propertyDesc;
            this.SortID = sortID;
        }
    }
}
